package com.sanrenzu.chunbo.bean.zxb;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by My on 2016/8/30.
 */
public class DataBean {
    
    @SerializedName("category_id")
    private String categoryId;
    @SerializedName("name")
    private String name;
    @SerializedName("parent_id")
    private String parentId;
    @SerializedName("show_property_type")
    private String showPropertyType;
    @SerializedName("shwo_property_ids")
    private String shwoPropertyIds;
    @SerializedName("icon_url")
    private String iconUrl;
    @SerializedName("back_img")
    private String backImg;
    @SerializedName("advert_url")
    private String advertUrl;
    @SerializedName("phone_img")
    private String phoneImg;
    @SerializedName("is_square")
    private String isSquare;
    @SerializedName("pc_icon")
    private String pcIcon;
    /**
     * category_id : 563
     * name : 最应季
     * parent_id : 521
     * show_property_type : 0
     * shwo_property_ids :
     * icon_url : http://i0.chunboimg.com/group1/M00/04/84/Cv4IbFY-MrGAXJanAAGlPCOI35o653.jpg
     * back_img :
     * advert_url :
     * phone_img :
     * is_square : 1
     * _child : [{"category_id":"567","name":"时令水果","parent_id":"563","show_property_type":"0","shwo_property_ids":"","icon_url":"","back_img":"","advert_url":"","phone_img":"","is_square":"1"},{"category_id":"569","name":"新到货","parent_id":"563","show_property_type":"0","shwo_property_ids":"","icon_url":"","back_img":"","advert_url":"","phone_img":"","is_square":"1"}]
     */

    @SerializedName("_child")
    private List<ChildBean> child;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getShowPropertyType() {
        return showPropertyType;
    }

    public void setShowPropertyType(String showPropertyType) {
        this.showPropertyType = showPropertyType;
    }

    public String getShwoPropertyIds() {
        return shwoPropertyIds;
    }

    public void setShwoPropertyIds(String shwoPropertyIds) {
        this.shwoPropertyIds = shwoPropertyIds;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getBackImg() {
        return backImg;
    }

    public void setBackImg(String backImg) {
        this.backImg = backImg;
    }

    public String getAdvertUrl() {
        return advertUrl;
    }

    public void setAdvertUrl(String advertUrl) {
        this.advertUrl = advertUrl;
    }

    public String getPhoneImg() {
        return phoneImg;
    }

    public void setPhoneImg(String phoneImg) {
        this.phoneImg = phoneImg;
    }

    public String getIsSquare() {
        return isSquare;
    }

    public void setIsSquare(String isSquare) {
        this.isSquare = isSquare;
    }

    public String getPcIcon() {
        return pcIcon;
    }

    public void setPcIcon(String pcIcon) {
        this.pcIcon = pcIcon;
    }

    public List<ChildBean> getChild() {
        return child;
    }

    public void setChild(List<ChildBean> child) {
        this.child = child;
    }

    public static class ChildBean {
        @SerializedName("category_id")
        private String categoryId;
        @SerializedName("name")
        private String name;
        @SerializedName("parent_id")
        private String parentId;
        @SerializedName("show_property_type")
        private String showPropertyType;
        @SerializedName("shwo_property_ids")
        private String shwoPropertyIds;
        @SerializedName("icon_url")
        private String iconUrl;
        @SerializedName("back_img")
        private String backImg;
        @SerializedName("advert_url")
        private String advertUrl;
        @SerializedName("phone_img")
        private String phoneImg;
        @SerializedName("is_square")
        private String isSquare;

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getShowPropertyType() {
            return showPropertyType;
        }

        public void setShowPropertyType(String showPropertyType) {
            this.showPropertyType = showPropertyType;
        }

        public String getShwoPropertyIds() {
            return shwoPropertyIds;
        }

        public void setShwoPropertyIds(String shwoPropertyIds) {
            this.shwoPropertyIds = shwoPropertyIds;
        }

        public String getIconUrl() {
            return iconUrl;
        }

        public void setIconUrl(String iconUrl) {
            this.iconUrl = iconUrl;
        }

        public String getBackImg() {
            return backImg;
        }

        public void setBackImg(String backImg) {
            this.backImg = backImg;
        }

        public String getAdvertUrl() {
            return advertUrl;
        }

        public void setAdvertUrl(String advertUrl) {
            this.advertUrl = advertUrl;
        }

        public String getPhoneImg() {
            return phoneImg;
        }

        public void setPhoneImg(String phoneImg) {
            this.phoneImg = phoneImg;
        }

        public String getIsSquare() {
            return isSquare;
        }

        public void setIsSquare(String isSquare) {
            this.isSquare = isSquare;
        }
    }
}
